package com.by.toolkit.enums;

import lombok.*;

@Getter
@AllArgsConstructor
public enum LocalCacheEnum {

    PROJECTID_CORP_CODE(-1, "企业代码"),
    PROJECT_CODE(0, "项目代码"),
    COURSE_CATEGORY(1, "课程分类"),
    VIRTUAL_SERVICE(2, "虚拟服务"),
    OPERATE_WX_MP(3, "运营的微信公众号"),
    PROMOTION_WX_MINI_APP(4, "推广接量的微信小程序"),
    DEFAULT_AVATAR(5, "默认头像"),
    COURSE_GROUP(6, "课程分组"),
    WX_CP_ADDRESS_BOOK(7, "运营企业微信通讯录"),
    ;

    private Integer code;
    private String desc;


    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class LocalCacheItemDTO {

        private String val;

        private String desc;

    }

}
